package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.OrderhongbaoDao;
import com.bootdo.appsystem.domain.OrderhongbaoDO;
import com.bootdo.appsystem.service.OrderhongbaoService;



@Service
public class OrderhongbaoServiceImpl implements OrderhongbaoService {
	@Autowired
	private OrderhongbaoDao orderhongbaoDao;
	
	@Override
	public OrderhongbaoDO get(Integer id){
		return orderhongbaoDao.get(id);
	}
	
	@Override
	public List<OrderhongbaoDO> list(Map<String, Object> map){
		return orderhongbaoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderhongbaoDao.count(map);
	}
	
	@Override
	public int save(OrderhongbaoDO orderhongbao){
		return orderhongbaoDao.save(orderhongbao);
	}
	
	@Override
	public int update(OrderhongbaoDO orderhongbao){
		return orderhongbaoDao.update(orderhongbao);
	}
	
	@Override
	public int remove(Integer id){
		return orderhongbaoDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return orderhongbaoDao.batchRemove(ids);
	}
	
}
